package com.stars.pao.springbook.mapper;


import com.stars.pao.springbook.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserInfoMapper {

    @Select("select * from user_info where delete_flag = 0 and user_name = #{userName}")
    UserInfo queryByName(String Username);
}
